{* FILTERS *}
<center>
<form method="post" id="management">
	<input type="hidden" name="action" id="action" value="">
	<table>
	{eval var=$CURRENT_USER->groupid assign="crgrp"}
	{foreach from=$CREDENTIALS[$crgrp] item=cr}
		{if $cr eq 'defadmin'}	
			<tr><td>{include file="button.tpl" name=$lang.defadmin action="goInto('defadmin')"}</td></tr>
		{/if}
		{if $cr eq 'messageadmin'}	
			<tr><td>{include file="button.tpl" name=$lang.messageadmin action="goInto('messageadmin')"}</td></tr>
		{/if}							
		{if $cr eq 'pradmin'}	
			<tr><td>{include file="button.tpl" name=$lang.pradmin action="goInto('pradmin')"}</td></tr>
		{/if}								
		{if $cr eq 'teamadmin'}	
			<tr><td>{include file="button.tpl" name=$lang.teamadmin action="goInto('teamadmin')"}</td></tr>
		{/if}
		{if $cr eq 'useradmin'}	
			<tr><td>{include file="button.tpl" name=$lang.useradmin action="goInto('useradmin')"}</td></tr>
		{/if}
		{if $cr eq 'taskadmin'}	
			<tr><td>{include file="button.tpl" name=$lang.taskadmin action="actMenu('taskadmin')"}</td></tr>
		{/if}
		{if $cr eq 'reguser'}	
			<tr><td>{include file="button.tpl" name=$lang.newuser action="actMenu('reguser')"}</td></tr>
		{/if}
		{if $cr eq 'languages'}	
			<tr><td>{include file="button.tpl" name=$lang.tlanguages action="actMenu('languages')"}</td></tr>
		{/if}
	{/foreach}
	</table>
</form>
</center>
{literal}
<script language="javascript">
	function goInto(op) {
		var forma = document.forms['management'];
		forma.action.value=op;
		forma.submit();
	}
</script>
{/literal}